Optimal. Leaf size=260 \[ \frac {3 b e n \left (d+\frac {e}{\sqrt {x}}\right ) \sqrt {x} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}+\frac {3 b e^2 n \log \left (1-\frac {d}{d+\frac {e}{\sqrt {x}}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}+x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-\frac {6 b^2 e^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )}{d^2}-\frac {6 b^2 e^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \text {Li}_2\left (\frac {d}{d+\frac {e}{\sqrt {x}}}\right )}{d^2}-\frac {6 b^3 e^2 n^3 \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )}{d^2}-\frac {6 b^3 e^2 n^3 \text {Li}_3\left (\frac {d}{d+\frac {e}{\sqrt {x}}}\right )}{d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.34, antiderivative size = 260, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 11, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.550, Rules used = {2501, 2504,
2445, 2458, 2389, 2379, 2421, 6724, 2355, 2354, 2438} \begin {gather*} -\frac {6 b^2 e^2 n^2 \text {PolyLog}\left (2,\frac {d}{d+\frac {e}{\sqrt {x}}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{d^2}-\frac {6 b^3 e^2 n^3 \text {PolyLog}\left (2,\frac {e}{d \sqrt {x}}+1\right )}{d^2}-\frac {6 b^3 e^2 n^3 \text {PolyLog}\left (3,\frac {d}{d+\frac {e}{\sqrt {x}}}\right )}{d^2}-\frac {6 b^2 e^2 n^2 \log \left (-\frac {e}{d \sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{d^2}+\frac {3 b e^2 n \log \left (1-\frac {d}{d+\frac {e}{\sqrt {x}}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}+\frac {3 b e n \sqrt {x} \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}+x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2354
Rule 2355
Rule 2379
Rule 2389
Rule 2421
Rule 2438
Rule 2445
Rule 2458
Rule 2501
Rule 2504
Rule 6724
Rubi steps
\begin {align*} \int \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3 \, dx &=2 \text {Subst}\left (\int x \left (a+b \log \left (c \left (d+\frac {e}{x}\right )^n\right )\right )^3 \, dx,x,\sqrt {x}\right )\\ &=-\left (2 \text {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^3}{x^3} \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-(3 b e n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x^2 (d+e x)} \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-(3 b n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+\frac {e}{\sqrt {x}}\right )\\ &=x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-\frac {(3 b n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{\left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d}+\frac {(3 b e n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{x \left (-\frac {d}{e}+\frac {x}{e}\right )} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d}\\ &=\frac {3 b e n \left (d+\frac {e}{\sqrt {x}}\right ) \sqrt {x} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}+x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3+\frac {(3 b e n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{-\frac {d}{e}+\frac {x}{e}} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d^2}-\frac {\left (3 b e^2 n\right ) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d^2}-\frac {\left (6 b^2 e n^2\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{-\frac {d}{e}+\frac {x}{e}} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d^2}\\ &=\frac {3 b e n \left (d+\frac {e}{\sqrt {x}}\right ) \sqrt {x} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}+x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-\frac {6 b^2 e^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )}{d^2}+\frac {3 b e^2 n \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2 \log \left (-\frac {e}{d \sqrt {x}}\right )}{d^2}-\frac {\left (3 e^2\right ) \text {Subst}\left (\int x^2 \, dx,x,a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{d^2}-\frac {\left (6 b^2 e^2 n^2\right ) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (1-\frac {x}{d}\right )}{x} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d^2}+\frac {\left (6 b^3 e^2 n^3\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {x}{d}\right )}{x} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d^2}\\ &=\frac {3 b e n \left (d+\frac {e}{\sqrt {x}}\right ) \sqrt {x} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}-\frac {e^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{d^2}+x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-\frac {6 b^2 e^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )}{d^2}+\frac {3 b e^2 n \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2 \log \left (-\frac {e}{d \sqrt {x}}\right )}{d^2}-\frac {6 b^3 e^2 n^3 \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )}{d^2}+\frac {6 b^2 e^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )}{d^2}-\frac {\left (6 b^3 e^2 n^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2\left (\frac {x}{d}\right )}{x} \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{d^2}\\ &=\frac {3 b e n \left (d+\frac {e}{\sqrt {x}}\right ) \sqrt {x} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{d^2}-\frac {e^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{d^2}+x \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-\frac {6 b^2 e^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )}{d^2}+\frac {3 b e^2 n \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2 \log \left (-\frac {e}{d \sqrt {x}}\right )}{d^2}-\frac {6 b^3 e^2 n^3 \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )}{d^2}+\frac {6 b^2 e^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )}{d^2}-\frac {6 b^3 e^2 n^3 \text {Li}_3\left (1+\frac {e}{d \sqrt {x}}\right )}{d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.43, size = 476, normalized size = 1.83 \begin {gather*} \frac {3 b d e n \sqrt {x} \left (a-b n \log \left (d+\frac {e}{\sqrt {x}}\right )+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2+3 b d^2 n x \log \left (d+\frac {e}{\sqrt {x}}\right ) \left (a-b n \log \left (d+\frac {e}{\sqrt {x}}\right )+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2+d^2 x \left (a-b n \log \left (d+\frac {e}{\sqrt {x}}\right )+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3-3 b e^2 n \left (a-b n \log \left (d+\frac {e}{\sqrt {x}}\right )+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2 \log \left (e+d \sqrt {x}\right )+3 b^2 n^2 \left (a-b n \log \left (d+\frac {e}{\sqrt {x}}\right )+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \left (\left (-e^2+d^2 x\right ) \log ^2\left (d+\frac {e}{\sqrt {x}}\right )-2 e^2 \log \left (-\frac {e}{d \sqrt {x}}\right )+2 e \log \left (d+\frac {e}{\sqrt {x}}\right ) \left (e+d \sqrt {x}+e \log \left (-\frac {e}{d \sqrt {x}}\right )\right )+2 e^2 \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )\right )+b^3 n^3 \left (\log \left (d+\frac {e}{\sqrt {x}}\right ) \left (\left (-e^2+d^2 x\right ) \log ^2\left (d+\frac {e}{\sqrt {x}}\right )-6 e^2 \log \left (-\frac {e}{d \sqrt {x}}\right )+3 e \log \left (d+\frac {e}{\sqrt {x}}\right ) \left (e+d \sqrt {x}+e \log \left (-\frac {e}{d \sqrt {x}}\right )\right )\right )+6 e^2 \left (-1+\log \left (d+\frac {e}{\sqrt {x}}\right )\right ) \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )-6 e^2 \text {Li}_3\left (1+\frac {e}{d \sqrt {x}}\right )\right )}{d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \left (a +b \ln \left (c \left (d +\frac {e}{\sqrt {x}}\right )^{n}\right )\right )^{3}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b \log {\left (c \left (d + \frac {e}{\sqrt {x}}\right )^{n} \right )}\right )^{3}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (a+b\,\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^n\right )\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________